﻿namespace System
{ 
    /// <summary>
    /// 异步任务的接口
    /// </summary>
    public interface IAsyncAction
    {
        event EventHandler Completed;

        void Execute();

        System.ActionResult ActionResult { get; set; }

        System.ActionResult PreActionResult { get; set; }

        string TaskName { get; set; }
    }
}

